#import <Foundation/Foundation.h>

// Tu powinny si znajdowa definicje klas ClassA i ClassB

int main (int argc, char *argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

    ClassA  *a = [[ClassA alloc] init];
    ClassB  *b = [[ClassB alloc] init];

    [a initVar];   // Uywa metody z klasy ClassA
    [a printVar];  // Wywietla warto x;

    [b initVar];   // Uywa metody przesaniajcej z klasy ClassB
    [b printVar];  // Wywietla warto x;
    [a release];
    [b release];

    [pool drain];
    return 0;
}